working on array with active chat clients - not quite working