index selection enumerated check