Please remove all grammar mistakes from the given sentence.
The HDB housing policy which encourages families to stay closer to their parents allows elderly to continue their role in helping their children or even an additional role as a grandparent.
The HDB housing policy, which encourages families to stay closer to their parents, allows the elderly to continue their role in helping their children or even an additional role as a grandparent.