Hmm. There were some problems in the transcript code. First we never added it. Second the comparison was wrong. Third the methods for hashcode produced a nullpointerexeption