add the orderMarkers code in