HW4:task1: done