add two classes.