pattern fitting with confidence Tag