actually pass the db state to om