nondeterministic sandwich