Added output to temporary handling for debugging.