simplify db model