add readme. refactor hash_correct