adding generic preloadfunc