add hoooks explian