hmm, this line was important I believe. you should be able to refer to a problem type by index.