added the possibility of more branches in a AccountManager