converting client list to a table