updates to handle mixed pattern sites