definition of each xxxcmd more generalaized