minor change in get_targets