before adding preload library