further additions to routine.h