add command and decorator