working on the map. created test case for it