hw 4 outputs