typo and added refactor TODO: delete shchild records