Added a print to screen for debugging.