CreateModel generating