Refactored to accomodate other lessons with better clarity.