add freq switch