implemented saveBundle() method