Uses app.controller method now