handle mixed-pattern sites
updates to handle mixed-pattern sites