now with the db model