problem 4 naive