add diff variable for simpler