start generating code