Added additional rays for z