added description of lastMarker variable