Refraction now working.