add getAll method