work on Query Box