Index of the list should be an int