forgot to add carrier frequency selection logic