created db model