use new hook setup