worked with db.php