added writegood mode