added: code for strata matching
use "strat" for stratum. plural form: strata
extract strata matching into a single class (needs refactor)