Added writing to taper