add command method