added map_regions to notes, skeleton of the filtering is now working