structure of client