deleted some debug statements.