I just read the proof of how to construct two Bernstein sets in a Polish space $X$ using the facts that there are at most $2^{\aleph_0}$ many closed subsets if $X$ is Polish and that every closed subset of a Polish space is either countable or of cardinality $2^{\aleph_0}$. Now I am asked to use the theorem of generalised recursive construction to achieve the same (this is p 176 in Just/Weese).
So I thought I could define a function $G^\ast$ such that it maps the pair $\langle f,\xi \rangle$ in $P(X \times X)$ to $(X \setminus \left \{f(\gamma)[0] \mid \gamma \in \xi \right \}) \times (X \setminus \left \{f(\gamma)[1] \mid \gamma \in \xi \right \})$. Here $f: \xi \to X \times X$ and I used $[0]$ and $[1]$ to denote the first and second coordinate of an element in the image of $f$.
Can you tell me if this is correct? Thank you for your help.