DB access: first prototype