add the ability to restrict the territory
Merge remote-tracking branch 'origin/master'