changed deliverMessage to sentOtherMessages