Added some implementation to add in Tree