adding digest package as dependancy