added function to add marker to map