- added a 'debug' param on the save() method to see what's going on