for drive write