fixed indentation and controller specifiying