closed the random module