make dedicated resetMarkers function