added db model