implement getAll