Debug

*facepalm*  Forgot some 'end's