setup gherkin for N Mod M