first pass at multiple clients; probably doesn't work