problem 2 is not so simple