moved to io/mapHandler