added packet debug lines