writer improvements