work with db structure started