make small abstraction for actually DB access