HW2:task1: done