a simple client proc