Added the frequency plot