changed map framing, added loop for markers