printed out sample query