added hashcheck