pass manifest to save() as parameter