added a prism hook method