insert randomnumber generator in main