solved problem 0006
solved problem 0007