add command tree