tidy up main
remove extra rand()