added a query to queries.php and some comments