Compiling state