complete the bst example