changed hook