Yours is without a doubt the worst code I've ever - tymoff