ADded formal decleration of resources hash