Modified the program to and placed a System out print to test.