modify the pose array creation to work with load balancer.