tasks 13 - 16 solved