I added the type attribute to the packet