some debug code and corrected some comments
comments