isBST added