solved problem13