changed return types in database_interface