Setting startMarker correctly