definition of each xxxcmd more generalized