add codes for pid control