added index to commit