updated structure
solved problem 13