Hi guys, So that was a premature question. I found a great function called click_random_srandom() in glue.cc and click implements its own version of random() in glue.hh. Hurrah for Click !!!! Bita.