updated listservers() function