nvalue with differences