Create a new function to save all the data in a dictiniory to falicilitate the proccess