added index in posts