changed "index" to "controller"