start adding target detection