use indexed job_state value