A to D working

TODO: show received packets
	   clean up