Fixed avl tree, now using proper naming. Yes really