cleaned up addModel method to be more structured and descriptive