added BST class