added disk write