implemented map read-in capability