changed preload method