add target to index