attempted refinements.

work in progress