with pattern data