Added labels to patternview