Changed to reset! because I'm not updating value according to the old
value
Got rid of unnecessary hash structure, though it would never be the case
in the real world problem