Definitely poorly done, we started casting then didn't know what the start point was. It should probably count up from 0..