don't call addMessage statically