compiles again, skeleton of controller
figured out how to use state machine, access child properties