Added save() method