Added work with DB