added close() feature to reuse the map object