added code
Merge pull request #5 from johnchase/master

added code