private static RoutingTable createLocalRT(Host host, Case CASE) throws UnknownHostException {
        // the following are stored in the LOCAL host
        RoutingTable localRT = new RoutingTable();
        localRT.setLocalhost(host);

        if (CASE.compareTo(Case.BOOTSTRAP_1) == 0) {
            return localRT;
        }


        // CASE == 1: local == 0 && remote == 0
        PGridHost host1 = new PGridHost("127.0.0.1", 1001);
        host1.setHostPath("1");
        host1.setUUID(hostUUID_.get(1));
        localRT.addReference(0, host1);

        if (CASE.compareTo(Case.BOOTSTRAP_2) == 0) {
            return localRT;
        }

        PGridHost host2 = new PGridHost("127.0.0.1", 1002);
        host2.setHostPath("01");
        host2.setUUID(hostUUID_.get(2));
        localRT.addReference(1, host2);

        PGridHost host3;
        switch (CASE) {
            case CASE_4:
                // CASE == 4: local > 0 && remote > 0
                host3 = new PGridHost("127.0.0.1", 3001); // points to remote host
                break;
            default:
                // CASE == 2 & 3: local == 0 && remote > 0
                host3 = new PGridHost("127.0.0.1", 1003);
                host3.setUUID(hostUUID_.get(3));
                break;
        }

        host3.setHostPath("001");
        localRT.addReference(2, host3);

        return localRT;
    }