code cleanup, fixing file format and correcting the credit_amount value
Merge pull request #3 from jcfigueiredo/master

fixing format and credit amount value