Change to make the reset function actually return a correct value