polyglot_fit