works with simple client nicely