Code refracted