implemented avl h file