isn't this the same as returning ```returned_parameters["clients"]```?
It seems that this if is not necessary