Added getItems() method