Handeling of hook