(fix) task #18, points 1, 4