changes in index controller