Preparing for PID controller