changed map to maps