added accumulate_languages