returning client var from funciton