added index
added index and tool