bare bones of PID controller