adding preloading