changed delta to d