implemented preloader, adjusted for radio changes