Generate good code (structure, code nesting)