define a command and use it