changes to preorder process