removed unnecessary call for digest