Using Grammar to Improve Writing