updating foreach in index to remove "items"