target_id -> index