adding messages to actions