passed parentId to every sub object.