added SNR extraction