target instead of source to determine index