bug fix for previous commit

missed the nextModel function