added prism stuff