compiling works initially