start to code the client