comp40 hw 3