use random number for testing