index route is no longer a function