added specs for the controller