working on search tree