Removed unnecessary repetition and unnecessary anonymous function
Merge pull request #1 from codyrobbins/patch-1

Removed unnecessary repetition and unnecessary anonymous function