BST solved