preliminary dsp routines.