Some code that you might like martin.
Merge pull request #1 from GSMCD/glenn

Some code that you might like martin.