fsm altered to add camb, fixed error in code