removing generated code