added derivation for differential reference