Added additional debug statements.