changed to 1 kHz rate