add random.seed here and at all the similar classes below