implementation of sniffy