Add a third callback to query that receives all data