improved bootstrapping