pattern steps