added some simple BST stuff