made index controller