more work on CanWithdraw calculation