beginning db model