Added 'reset' function to force back to initial value