Code donated by Gary Simons - thanks!
+ README update