improvements for the creation of maps