compiled hw 2