Worked on new code.

Just need to add section that tops up and deducts from a variable to
process credit transactions