changing name to chat_message
using chat_message instead of message()