adding cock and set target