reset has functionality