added raytrace and sprites