Adding values to the Tree. Improvements