basic functionality for adding marks on map