small changes to alphabet-frequency