Problem 1.6 add and some modification por the problem 417