Minify my hideous code