new, plus routines to get and set intervals to use in modal calcs.