having some trouble with the reset
working resets