added rate pid