Yeah but I'm going to use these vars in other parts of my script too, so that I don't need to dns everyone everytime I want to use their ip.
Thanks for the indeed logical solution!