added keys to packets