database data structure is ok