initialize rand() seed on startup