added cool-mode for compiler class