@SuppressWarnings({ "unchecked", "rawtypes" })
	static ArrayList generateCustomers(Class documentClass) throws Exception {
        ArrayList<HashMap<String,Object>> customers = new ArrayList<HashMap<String,Object>>();
        for (int i=0;i<documentCount;i++) {
            HashMap<String,Object> customer = (HashMap<String, Object>) documentClass.newInstance();
            customer.put("name",randomName());
            customer.put("ssn",randomSSN());
            customer.put("dob",randomDate());
            customer.put("age",randomInt(18,99));
            customer.put("home phone",randomPhone());
            if (i % 3 == 0) {
                customer.put("cell phone",randomPhone());
                customer.put("services",new String[]{"ATM","Direct Deposit","Checking","Savings"});
            } else {
                if (i % 2 == 0) {
                    customer.put("services",new String[]{"ATM","Savings"});
                } else {
                    customer.put("services",new String[]{"CD","Investment"});
                }
            }
            customer.put("address",generateAddress(documentClass));
            customer.put("account",generateAccount(i,documentClass));
            customers.add(customer);
        }
        return customers;
    }