add two class type.