create table for targets when selecting line