pattern_record(): Record only single pattern, called twice now