add possibility that the visitor stops search