added auto-detect language