=== Message

Pass this global variable to the function as a parameter rather than accessing it directly.

