looping available sites and adding to locations array