Added debug statements.
Removed debugs.