Changed territories to array