added viewer joined function - not working yet