removed connection.php dependency