corrected order of controller definitions