added sha support