Moving hook below the function