slight change to logic around packets

few methods logic revised