Refactored Into IndexController