print query and make startingPoint cross endpoint
v