Transforming message instead of messages