added data sniffer stuff