added write disposal featur