Program 2 - Phase 2

Some notes on phase 2 of program 2: