added addcredit