imporved controller spec