finished WLZW and FreqEst