refract main