Work with DB: prototype