how to work general pattern

What are the procedure