first draft db structure