getting shas from methods