adds messages to actions