modified db.php