use childNodes instead of children