changes to avltree
changed avltree