added index in reverse