Edits to help run AVL