more prepping for direct writes