adding messages to form