why do you hard-code "3", since you still have $replicas parameter?