messing around with an on-the-fly preloading system