more code to bst