cmd init structure