This is sample code for using the Captain Hook library