sample DB work, code readability