added autoscaling functionality