work in progress: basic territories data working
territories by company: data working