For generating code