added NodeEvent type messages to the callback