do the random stuff at the beginning