add method to binary search tree added