30C3 code rewrites