Added DSP code