difference between generated code and compiling code
redone patch