made some stylistic corrections