added bst; cleared code