CS373: new PD controller