Extract message string to static field
Format code for readability
Refactor local variable name for descriptiveness