added index controller