register the command