added addCredit