accounting for write stats