scaleModel functions