construction of map