Added functionality to get a single item by index