add an usage of setOut function to change target of print function.