Added initial save() and totalCredits() methods