making hooks beautiful, might change back if I want to add hook priorities