Added checking for bst