use the clock to generate random numbers and use inttypes