refined two classes