Group 7 contains non-metal elements placed in a vertical column on the right of the periodic table . The elements in group 7 are called the halogens .