added credit operation