updated command stucture