adding prism support