modded OTNode<T> to accept a hook as an argument
merge