client not totally working yet