Added ProcessPacket