add BST class declaration