defined mergeClasses