Writing Queries for recall order