added a color map indexer