added index feature
fix pull