Phase 4c complete

Got rid of synthesize lines and fixed the errors that caused.