Revert "removing debuging code"

This reverts commit 5608a7d92eca950430521341746f9666be300be0.
removing debuging code