add diagnostic output
Merge pull request #136 from retronym/topic/laws

add diagnostic output