cleaning of problem 1