Added more variables (lines 7, 8, 9), expressions and comments for those lines.  Added alert at top of file and at the bottom to display the messages to the user.