Added time_rand function on bind.rb