hw 4 and hw 1