figured out what was wrong with the model