a prism snippet