solved problem \#13