why are you not just using "joinClasses"?