add a pointer definition for avl