added function to target only alive bases and cities