util map with index