updated random generated ness so it'd work on linux and osx - thanks apple, again