hash is calculated