begging of a test mod
added a put func so calculating in a hash isn't mandatory
begging of a test mod