removed balance (useless) and refactor cleared