moved map to index