updated code to add sample message that alters some aspect of the game