changes for 5.0.0 - from doc/doc 27d3c7e6b1dc9d01