Add pattern records