I agree that it's ugly code. (とてもおもしろい)