addresses issue #8 but needs refinement.