display the pattern