showPattern -> console