[HW6] task 5 done