block pattern