Added some printlns to help with testing.