add range checking for set values(always done at runtime). valid range = 0 through 50, otherwise dont add the val to the set, and flag it as an error.