finish the map module.