Changed vmax to scale vmax and added user vmax