done small change in index controller