added support for manually created maps