- changing format for the addMap method