Updated file for better coding, based on all of the suggestions.