Phase 4 initial code.