Update messages.py

Updated with suggestion from Terry Jones