added thread-specific rand seeds