hw 3 - tasks 1-4 added