Removed large block of accidentally duplicate code
Merge pull request #5 from lelandbatey/master

Removed large block of accidentally duplicated code