Ray=out alternative

ray=out alternative