output for homework