This is the crappiest code ever written, but the most beautiful page ever