Flow diagram for bootstrap