check distribution of first letters
some improvements