add territories and fix issues