Added preloading ability