compiling state