spec and changes in controller