reworked preloading - now calling aux function from preload.js