incorporating text window and scapy.