changed it to iterate over servers