attempted to improve preloader