Packet system finalized
remove debug code.