complete phase 3 controller base, all specs passing