UNDERSTANDING PID MECHANISM AND SOLUTIONS FOR P