Double checking the queries