added ability to toggle writes