Added writing mode