improved monkey patch. It now picks from random ip