add hash memory string framework