allow pool_instances to handle lists