Added debug statements.
Added debug statements.