moved and added binary tree