Added getAll() method