prepping for direct writes