added timing to bootstrap.r