added index action for state