Got ray plane working