<added switch pattern on step instead of bar global option>