adds one more case where allChildren is used