Added some output and some example code.