it is right now, but the snippet has been moved around a few times and the varying scope of the ```defer``` has bit me in the past so I'm keeping it there in expectation that it will move again :)