tweaks to Fred's post.