Fixed some indentation and define freqs array for future modifications