changed extension key, removed duplicate code for getting subaccount