basic+refraction