reimplemented continuous mode compiling