Added db methods