join multiple classes