give trans_id a random number