got basic multi client functionality working