Freqency changed from int to float