add getallregions -- work in progress, script to check which codes actually exist