isBalanced initial draft