Added a clear method to reset the value to 0