renamed parameter type to account_type when creating bank account