New Changes to Algorithm - Error proofing