Reset function integrated