added sha1_done callback