Removed the mistakes with the dates.  Added the balance function"