adding all elements into a variant block