i put comments and i put closeConnection and openConnection and public function query