D term was missing negative sign