Add basic frequency analysis