Merge pull request #5 from johnchase/master

added code
fixed error
changes