added the output from the two test cases