updates to differentiation / single var