provide null reset function