getAreas function

Select and exclude areas