frequency corresponds to choosen mode