changed how the model name is created