The newest Model 2 function.