Added nestedjoin3