add time differentiation