adjusting sampling rate, should work continuously now