setting shared children in cap