added the ability to seed the random number generator