perform var on diff