use optimal_setting for frequency change; same way as build in scanning