Add Scale model function