still need to rescale input signal