comments from Dave
some tweaks suggested by Dave