Added db operations