flesh out the query section