new database methods