Tweaking the reset
Working on reset function