since we have only a code snippet to work with one does assume the routine is only called when there is a valid (dtmf decode ) data ready to analyse.