added new db structure