modified addInterestToAllAccounts to use command manager