Add pattern section