removed some debug statements, and got all tests passing