changed index controller