using the Doppler effect