accepts arrays and HTMLhtmlObjects