NOT WORKING: refactoring loadRmb
REFACTOR loadRmb to be more readable and maintainable