Working on ray tracing