add autoscaling back to struct