Since the code is so ugly I think it's reasonable!