implemented the Packet and the Command