Revert "Added debugging code"

This reverts commit 09a4d36cad5b3c675da14b329fd49c3f26925808.