switch logic for gflg and made note of radmode removal