Refracted code