just checking for digest is enough