return 0 if no targets found