Commit 'Querying' code