Completed the HW4-1