client interface

today just modify a little.