removed unused function from wiretap