implemented adding of a message (not sending it yet)