Brilliant! Thanks directing me to the framework in r.h; I hadn't seen that before.