adding debugging.
adding debugging.