adds ability to stop hook