check for hash