modified to suit ezCMessages singleton