allows regional data extraction now provides an example in 'main'