added changes for queryMarker