additions to PatternLib