make CardSet.toString() out of it. But check if really everything still works. Refactoring shows a possible shadowing conflict.