added image prefetching