prepping for 6-looped method