added 'penalize_unknown' variant