added specs for controller