added remote and prefetch support