applied Martin Kühl's inverse matching flag to stest