Added debugging
Merge pull request #2 from simwir/master

Added debugging