Add credit variable to initialize set at zero