check for valid values with discrete int options