added hints forfixing the codegen