getAll function