add two classes