adding for loop to add all of the packages