working simple client