Every electron in an atom is attracted to every proton in the atom and repelled by every other electron in that atom. Use of the term "shielding" is then somewhat misleading since a shield implies a barrier. In reality what is seen is a balancing of forces of attraction by the forces of repulsion. These forces are vector forces so core electrons (those inner electrons between the valence electrons and the protons in the nucleus) are more effective in balancing than are other valence electrons. The approximation is then to subtract the number of core electrons from the number of protons to determine the effective nuclear charge.