modify for autoscaling Sample