edited autoscaling