updated frequency analysis