for consistency with the rest of the code we should here also use the NodeList --> Array conversion