adding SHA stuff from Sam Anklesaria