HW5 - solved