added boolean message handler