We really should move away from using list indexes like this ... to using named tuples or similar.