Added means to get value at index