added sample gathering, lowpass on pid