added captureEvery