added a struct to order clients