moving block digest out to method