compiling stage