added allowed ranges / disallowed ranges, converted array/vector to vectors with initialization lists
mend