skeleton for query.php added