private Customer getCustomer(int rowIndex) {
        int i = 0;
        for (Customer customer : customers) {
            if (i==rowIndex) return customer;
            i++;
        }
        return null;
    }