create a model based on the shapes