adding debugging output.