edit to use list of clients