cleaned up syntax errors
Merge pull request #37 from patrickdmccarthy/cleanup

cleaned up syntax errors