add sniff function
add sniff function and change readme file