Frequency analysis added