I added some debug statements.