random in problem 1