adding corretly generated code to model
moving these