cleaned-up and commented the code to wrap up this application.\