added tempMessage addEvent example