fixed db structure