implemented CommonCmd