Hmm, this is clearly broken but my Twisted-fu is too weak to know what it should be instead. Suggestions?