basics for solving problem 3