shared db_model.php