added load map functionality