Implemented basic map patching