Debug

*facepalm*  Forgot some 'end's
Merge pull request #37 from KingofGamesYami/patch-2

Debug