Dol-languages and a feasible solution for a word problem