event_inherited(); pattern = 0; cutoffpoint = 0;