changed where insert happens binary tree