finished commenting index and map