Example to demonstrate how to write multiple outputs