adding Reset() function in header & source --kazu