added client list as global variable. it now compiles