Output is as expected