Cubic: added first and second derivation