add hash and string generator