this is the hook
updated misc