Refactoring
Dispose hash
+ generateRandom